package com.gmall.console.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author Jone
 * @since 2024-05-28
 */
@TableName("T_USER")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "User", description = "")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private String id;

    @Schema(description = "名称")
    private String userName;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "状态")
    private Byte status;

    @Schema(description = "手机号")
    private String iphone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "说明")
    private String remark;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "修改时间")
    private Date updateTime;

    @Schema(description = "修改人")
    private String updateBy;

    @TableField(exist = false)
    private List<String> roleIdList;

}
